﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage/PageTemplate.Master" AutoEventWireup="true"
    Codebehind="SerDocPostil.aspx.cs" Inherits="FrameWork.web.Module.ITMS.Service.ServicePostil.SerDocPostil"
    Title="服务单批注" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PageBody" runat="server">
    <FrameWorkWebControls:HeadMenuWebControls ID="HeadMenuWebControls1" runat="server"
        HeadOPTxt="对处理的服务单进行批注" HeadTitleTxt="服务单批注">
    </FrameWorkWebControls:HeadMenuWebControls>
    <FrameWorkWebControls:TabOptionWebControls ID="TabOptionWebControls1" runat="server">
        <FrameWorkWebControls:TabOptionItem ID="TabOptionItem1" runat="server" Tab_Name="等待批注的服务单">
            <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
                <tr>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        报修人工号</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtRepNo" runat="server" CssClass="text_input" Width="100%"></asp:TextBox></td>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        报修人姓名</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtRepName" runat="server" CssClass="text_input" Width="100%"></asp:TextBox></td>
                    <td class="table_none" colspan="2" style="height: 25px;">
                    </td>
                </tr>
                <tr>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        解决人工号</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtSolvePSNNo" runat="server" CssClass="text_input" Width="100%"></asp:TextBox>
                    </td>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        解决人姓名</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtSolvePSNName" runat="server" CssClass="text_input" Width="100%"></asp:TextBox></td>
                    <td class="table_none" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                    </td>
                </tr>
                <tr>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        开始时间</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtDocDatBegin" title="请输入开始日期~:date" onfocus="javascript:HS_setDate(this);"
                            Columns="10" runat="server" CssClass="text_input"></asp:TextBox>
                    </td>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        结束时间</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:TextBox ID="txtDocDatEnd" title="请输入结束日期~:date" onfocus="javascript:HS_setDate(this);"
                            Columns="10" runat="server" CssClass="text_input"></asp:TextBox></td>
                    <td class="table_none" style="height: 25px; width: 8%;">
                        &nbsp;&nbsp;
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                    </td>
                </tr>
                <tr>
                    <td class="table_body" style="height: 25px; width: 8%;">
                        批注状态</td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:CheckBox ID="chbPostil" runat="server" Text="批注" Width="56px" />
                        <asp:CheckBox ID="chbunPostil" runat="server" Text="未批注" Width="57px" /></td>
                    <td class="table_body" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                    </td>
                </tr>
                <tr>
                    <td class="table_none" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        &nbsp; &nbsp;&nbsp;
                    </td>
                    <td class="table_none" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 8%;">
                    </td>
                    <td class="table_none" style="height: 25px; width: 10%;">
                        <asp:Button ID="BtnQuery" runat="server" CssClass="button_bak" Text="查询" OnClick="BtnQuery_Click" />&nbsp;
                        &nbsp;
                        <input id="Reset1" class="button_bak" type="reset" value="重填" /></td>
                </tr>
            </table>
            <asp:GridView ID="GvDoc" runat="server" AutoGenerateColumns="False" Width="100%"
                OnRowDataBound="GvDoc_RowDataBound">
                <Columns>
                    <asp:BoundField DataField="UID" SortExpression="UID" Visible="False" />
                    <asp:TemplateField HeaderText="服务单号">
                        <EditItemTemplate>
                            <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("ServDocNo") %>'></asp:TextBox>
                        </EditItemTemplate>
                        <ItemTemplate>
                            <asp:LinkButton ID="lbtsolve" runat="server" OnClick="lbtUnsolve_Click" Text='<%# Bind("ServDocNo") %>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:BoundField DataField="RepUserNO" HeaderText="报修人工号" />
                    <asp:BoundField DataField="RepUserName" HeaderText="报修人姓名" />
                    <asp:BoundField DataField="RepTitle" HeaderText="报修标题" />
                    <asp:BoundField DataField="DocDat" DataFormatString="{0:yyyy-MM-dd HH:mm}" HeaderText="报修时间" />
                    <asp:BoundField DataField="U_UserNO" HeaderText="解决人工号" />
                    <asp:BoundField DataField="U_CName" HeaderText="解决人姓名" />
                    <asp:TemplateField HeaderText="批注状态" Visible="False">
                        <ItemTemplate>
                            <asp:Label ID="labPostilState" runat="server" Text='<%# Bind("PostilState") %>'></asp:Label>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
            </asp:GridView>
            <FrameWorkWebControls:AspNetPager ID="PagerDoc" runat="server" OnPageChanged="PagerSolve_PageChanged">
            </FrameWorkWebControls:AspNetPager>
        </FrameWorkWebControls:TabOptionItem>
    </FrameWorkWebControls:TabOptionWebControls>
    <table width="100%" border="0" cellspacing="1" cellpadding="3" align="center">
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
                <asp:Label ID="Label1" runat="server" Font-Bold="True" Font-Size="X-Small" Text="批注信息"></asp:Label></td>
            <td style="height: 25px; width: 10%;">
            </td>
            <td style="height: 25px; width: 8%;">
            </td>
            <td style="height: 25px; width: 10%;">
            </td>
            <td style="height: 25px; width: 8%;">
            </td>
            <td style="height: 25px; width: 10%;">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 88px; width: 8%;">
                批注内容</td>
            <td colspan="3" class="table_none" style="height: 88px;">
                <asp:TextBox ID="txtPostil" runat="server" CssClass="text_input" Width="100%" Height="100px"
                    TextMode="MultiLine"></asp:TextBox></td>
            <td class="table_none" colspan="2" style="height: 88px">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
            </td>
            <td class="table_none" colspan="3" align="right">
                <asp:Label ID="lbl_PostilPSN" runat="server">批注人:</asp:Label>
                &nbsp; &nbsp; &nbsp;<asp:Label ID="lbl_PostilTime" runat="server">批注时间:</asp:Label></td>
            <td class="table_none" colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
            </td>
            <td class="table_none" colspan="3" align="right">
                <asp:Button ID="btnPostil" runat="server" CssClass="button_bak" Text="批注" OnClick="btnPostil_Click" />
                &nbsp;&nbsp;<input id="Reset2" class="button_bak" type="reset" value="重填" />&nbsp;
            </td>
            <td class="table_none" colspan="2">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
                <asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Size="X-Small" Text="详细信息"></asp:Label></td>
            <td style="height: 25px; width: 10%;">
            </td>
            <td style="height: 25px; width: 8%;">
            </td>
            <td style="height: 25px; width: 10%;">
            </td>
            <td style="height: 25px; width: 8%;">
            </td>
            <td style="height: 25px; width: 10%;">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
                服务单号</td>
            <td class="table_none" colspan="3">
                <asp:TextBox CssClass="text_input" ID="txtDocNo" runat="server" Width="100%" ReadOnly="True"></asp:TextBox></td>
            <td class="table_none" colspan="2">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 25px; width: 8%;">
                报修标题</td>
            <td class="table_none" colspan="3">
                <asp:TextBox CssClass="text_input" ID="txtRepTitle" runat="server" Width="100%" ReadOnly="True"></asp:TextBox></td>
            <td class="table_none" colspan="2">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 68px; width: 8%;">
                具体内容</td>
            <td colspan="3" class="table_none" style="height: 68px;">
                <asp:TextBox ID="txtRepContext" runat="server" CssClass="text_input" Width="100%"
                    Height="80px" TextMode="MultiLine" ReadOnly="True"></asp:TextBox></td>
            <td class="table_none" colspan="2" style="height: 68px">
            </td>
        </tr>
        <tr>
            <td class="table_body" style="height: 125px; width: 8%;">
                解决情况</td>
            <td colspan="3" class="table_none" style="height: 125px">
                <asp:TextBox ID="txtSolution" runat="server" CssClass="text_input" Width="100%" Height="150px"
                    TextMode="MultiLine" ReadOnly="True"></asp:TextBox></td>
            <td class="table_none" colspan="2">
            </td>
        </tr>
    </table>
    <asp:Label ID="lblRepNo" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblRepName" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblPostilState" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblSolvePSNNo" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblSolvePSNName" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblDocAlloc" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblDocDatBegin" runat="server" Visible="False"></asp:Label>
    <asp:Label ID="lblDocDatEnd" runat="server" Visible="False"></asp:Label>
</asp:Content>
